/**
 * Created by OneDream on 2016/1/15.
 */
$("document").ready(function(){
    var account=localStorage.getItem("account");
    var nickname=localStorage.getItem("nickname");
    var address=localStorage.getItem("address");
    var icon=localStorage.getItem("icon");
    $("#icon img").attr("src","image/"+icon+".jpg");
    $("#nickname").html(nickname);
    $("#account").html(account);
    $("#address").html(address);
    $("#back_img").click(function(){
        //localStorage.setItem("iframesrc","me");
        history.back();
    });
$("#changeNickname").click(function(){
    window.location.href="changeNickname.html";
});
});
